package com.alibaba.otter.manager.biz.config.parameter.dal.dataobject;

import com.alibaba.otter.manager.biz.config.parameter.dal.ibatis.SystemParameterTypeHandler;
import com.alibaba.otter.manager.biz.dal.AbstractDO;
import com.alibaba.otter.shared.common.model.config.parameter.SystemParameter;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;

/**
 *  实体类。
 *
 * @author LCH
 * @since 2024-09-15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "system_parameter")
public class SystemParameterDO extends AbstractDO {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    private Long id;

    @Column(typeHandler = SystemParameterTypeHandler.class)
    private SystemParameter value;



}
